package com.castudio.Service;

import cn.hutool.core.img.ScaleType;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.castudio.Common.RespPageEntity;
import com.castudio.Entity.Dto.UpdateR;
import com.castudio.Entity.Repairtable;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小陈同学
 * @since 2022-12-14
 */
public interface RepairtableService extends IService<Repairtable> {

    RespPageEntity getAllPage(Integer page, Integer size);
    RespPageEntity page(Integer page, Integer size, String openid);

    void save(String fileUrl,String computername,String computertype,String reason,String realname,
              String stunum,String dormnum,String phone,String time,String openid);

    String updateR(UpdateR r);

    String updateS(UpdateR r);

    IPage<Repairtable> getPage(Integer currentPage, Integer pageSize, Repairtable repairtable);

    IPage<Repairtable> getPage(Integer currentPage, Integer pageSize);
}
